package cn.exrick.xboot.modules.transport.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "设置订单联系人参数")
public class OrderReceiverParam {

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty(value = "收货人id")
    @NotNull(message = "收货人id不能为空")
    private Long receiverId;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人手机号码")
    private String receiverPhone;
}